Use CCLINKFLAGS for linking all executables and shared libraries
This allows packagers to set additional linker flags for executables and shared
libraries created by OCaml, and for the OCaml tools themselves.
OCaml code can be linked with various C stubs and C libraries that would
benefit from using hardening link flags, such as -Wl,-z,relro.
Origin: other
Bug-Debian: https://bugs.debian.org/702349
Forwarded: no
Last-Update: <2021-12-21>
Gbp-Pq: Name 0002-Use-CCLINKFLAGS-for-linking-all-executables-and-shar.patch
[changes brought forward from 4.08.1-4+rpi2 by Peter Michael Green <plugwash@raspbian.org> at Tue, 26 Nov 2019 19:38:59 +0000]
* Revert previous raspbian changes, changing the triplet
now seems to cause more problems than it solves (specifically
it causes ocaml to try and use nonexistant compilers).
* Edit configure.ac to select armv6 when using "arm-linux-gnueabihf"
* Partially fix clean target.
[changes introduced in 4.08.1-5+rpi1 by Peter Michael Green]
* Remove gitattributes that cause problems for dgit.